<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>SupermarketDemo</title>

<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">

<link
	href="${pageContext.request.contextPath}/static/css/bootstrap.min.css"
	rel="stylesheet" type="text/css" />
<link
	href="${pageContext.request.contextPath}/static/css/bootstrap-responsive.min.css"
	rel="stylesheet" type="text/css" />

<link
	href="${pageContext.request.contextPath}/static/css/font-awesome.css"
	rel="stylesheet">
<link
	href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600"
	rel="stylesheet">

<link href="${pageContext.request.contextPath}/static/css/style.css"
	rel="stylesheet" type="text/css">
<link
	href="${pageContext.request.contextPath}/static/css/pages/signin.css"
	rel="stylesheet" type="text/css">

</head>

<body>

	<!-- 头部开始 -->
	<%@include file="/common/head.jsp"%>
	<!-- 头部结束 -->



	<div class="account-container register">

		<div class="content clearfix">

			<form action="${pageContext.request.contextPath}/toBill?method=1" method="post" id="date">

				<h1>选择供应商</h1>

				<div class="login-fields">

					<p>选择供应商</p>



					<div class="field">
						选择供应商 <select id="Vendor">
							<option value="-1">请选择供应商</option>
						</select>
					</div>
					
					<input type="hidden" name="name.id" id="nameId" value="-1"/>
					
					
					<!-- /field -->

					<div class="field">
						<label for="vendorName">vendorName:</label> <input type="text"
							id="vendorName" name="vendorName"  placeholder="Vendor Name"
							class="login"  readonly = "readonly"/>
					</div>

					<div class="field">
						<label for="billDate">Bill Date:</label> <input type="text"
							id="billDate" name="billDate" value="" placeholder="Bill Date"
							class="login"  required/>
					</div>
					<!-- /field -->

					<div class="field">
						<label for="dueDate">Due Date:</label> <input
							type="text" id="dueDate" name="dueDate"
							placeholder="Due Date" class="login" required/>
					</div>

				</div>
				<!-- /login-fields -->
				
				<a href="#" id="clear_Bill">清空</a>
				<br>
				<span style="color:red" id="txtClearErr"></span>
				
				<br>
				<span style="color:green" id="txtAddIncomeErr">${AddIncome_err }</span>

				<div class="login-actions">
					<a href="${pageContext.request.contextPath}/toBill?method=3">
						<input type="button" id="btnCleanCheck" class="button btn btn-danger btn-large" value="取消" />
					</a>
					<input type="submit" id="btnAddCheck" class="button btn btn-primary btn-large" value="Add Department item" />
					&nbsp;&nbsp;&nbsp;&nbsp;

				</div>
				<!-- .actions -->


			</form>

		</div>
		<!-- /content -->

	</div>
	<!-- /account-container -->


	<!-- Text Under Box -->



	<script
		src="${pageContext.request.contextPath}/static/js/jquery-1.7.2.min.js"></script>
	<script src="${pageContext.request.contextPath}/static/js/bootstrap.js"></script>

	<script src="${pageContext.request.contextPath}/static/js/signin.js"></script>
	<script src="${pageContext.request.contextPath}/js/vendor.show.js"></script>
	<script src="${pageContext.request.contextPath}/js/clear.js"></script>
	<script src="${pageContext.request.contextPath}/js/jquery.validate.min.js"></script>
	<script src="${pageContext.request.contextPath}/js/Validate.js"></script>
	<script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/localization/messages_zh.js"></script>
</body>

</html>
